package cn.edu.scau.cmi.liangzaoqing.domain;

import java.util.ArrayList;
import java.util.List;

public class RootNode {
	
	String name = null;
	
	List<MiddleNode> middleItems = new ArrayList<>();
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<MiddleNode> getMiddleItems() {
		return middleItems;
	}
	public void setMiddleItems(List<MiddleNode> middleItems) {
		this.middleItems = middleItems;
	}
	@Override
	public String toString() {
		return "RootNode [name=" + name + ", middleItems=" + middleItems + "]";
	}
	
}
